;
(function () {
    System.register(['./index-legacy-BBSVeb5I.js'], function (exports, module) {
        'use strict';

        var defineComponent, createElementBlock, createBaseVNode, renderSlot, normalizeClass, openBlock;
        return {
            setters: [function (module) {
                defineComponent = module.d;
                createElementBlock = module.a;
                createBaseVNode = module.b;
                renderSlot = module.I;
                normalizeClass = module.n;
                openBlock = module.o;
            }],
            execute: function execute() {
                var _sfc_main = exports("_", /* @__PURE__ */defineComponent({
                    __name: "IconButton",
                    props: {
                        disabled: {
                            type: Boolean
                        },
                        iconClass: {}
                    },
                    setup: function setup(__props) {
                        return function (_ctx, _cache) {
                            return openBlock(), createElementBlock("div", {
                                class: normalizeClass(["flex-center cursor-pointer rounded", _ctx.disabled ? "op-50 cursor-not-allowed" : "hover:bg-gray/20"])
                            }, [createBaseVNode("div", {
                                class: normalizeClass([_ctx.iconClass, "flex-none"])
                            }, null, 2), renderSlot(_ctx.$slots, "default")], 2);
                        };
                    }
                }));
            }
        };
    });
})();
